package com.wiselink.naver.productcatalog.ado;

import com.wiselink.naver.productcatalog.request.OriginProduct;
import com.wiselink.naver.productcatalog.request.SmartstoreChannelProduct;
import com.wiselink.naver.productcatalog.request.WindowChannelProduct;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 平台商品-naverADO
 */
@Getter
@Setter
@ToString
public class PlatformProductNaverADO {
    /**
     * 电商店铺ID
     */
    @NotNull(message = "电商店铺ID can not be null")
    private Long shopId;
    /**
     * 原始产品信息结构
     */
    @NotNull(message = "原始产品信息结构 can not be null")
    private OriginProduct originProduct;
    /**
     * 智慧门店渠道产品信息结构
     */
    @NotNull(message = "智慧门店渠道产品信息结构 can not be null")
    private SmartstoreChannelProduct smartstoreChannelProduct;
    /**
     * 购物橱窗渠道产品信息结构
     */
    @Valid
    private WindowChannelProduct windowChannelProduct;
}
